html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
}

#app {
    height: 100%;
}



/* 登录页面 */
.login {
    width: 100%;
    height: 100%;
    background: url("../image/紫珠儿和八戒.png") no-repeat 90% center;
    background-size: cover;
    background-color: #b8e5f8;
}

.login-image {
    text-align: center;
    padding-top: 70px;
}

.login-item {
    position: absolute;
    top: 50%;
    right: 50%;
    height: 420px;
    transform: translate(50%, -50%);
    display: flex;
    justify-content: center;
    /*水平居中*/
}


/* ---------------------------------------------------- */
.login-item-left {
    width: 320px;
    background-color: #fff;
    text-align: center;
    padding: 20px;
    box-shadow: 0 0 5px 1px #999;
}

.login-item-left-title {
    line-height: 23px;
    font-weight: 600;
    font-size: 20px;
}

.login-item-left-img img {
    width: 180px;
}

.login-item-left-message {
    line-height: 23px;
    font-weight: 600;
}

.login-item-left .el-button {
    margin-top: 15px;
}

/* -------------------------------------------------------- */
.login-item-right {
    width: 430px;
    background-color: #fff;
    box-shadow: 0 0 5px 1px #999;
    padding: 20px;
}

/* .login-item-right .login-item-right-input{
    margin-top: 20px;
} */
.login-item-right .login-item-right-login .login-item-right-code {
    width: 60%;
}

.login-item-right .el-input__wrapper {
    padding: 7px;
}

.login-item-right .el-button {
    width: 100%;
    padding: 20px;
    font-size: 18px;
}

.login-item-right .chickCode {
    display: flex;
}

.login-item-right .chickCode img {
    margin: auto;
    height: 50px;
}

.login-item-right .login-item-right-register .login-item-right-code {
    width: 60%;
}

.login-item-right .login-item-right-register .checkCode .el-button {
    height: 45px;
    width: 40%;
}



/* 布局头部 */
.el-container .el-header {
    padding: 0;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 3px var(--el-border-color);
}

.appHeader {
    display: flex;
    align-items: center;
    max-width: 1580px;
    min-width: 1000px;
    margin: auto;
}

.el-header .el-menu--horizontal {
    border: 0;
    width: 530px;
}

.appHeader-item-search {
    margin-left: 100px;
    width: 340px;
    display: flex;
    position: relative;
}

.appHeader-item-search input {
    height: 30px;
    width: 320px;
    padding: 4px 60px 4px 10px;
    border: 1px solid var(--el-border-color);
    background-color: #f8f8fa;
    border-radius: 999px;
    outline: none;
}

.appHeader-item-search .el-button {
    border-radius: 50%;
    padding: 0 7px;
    border: 0;
    font-weight: 600;
    font-size: 20px;
    position: absolute;
    right: 15px;
    top: 4px;
}

.appHeader-item-userInfo {
    display: flex;
    position: absolute;
    right: 0;
}


.appHeader-item-userInfo img {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    margin: auto 30px;
}

a {
    text-decoration: none;
}

/* ========================================首页======================================== */
.content {
    display: flex;
    width: 1070px;
    margin: 0 auto;
}

.contentLeft {
    width: 770px;
    margin-right: 10px;
    flex-shrink: 0;
}

.contentRight {
    width: 250px;
}

.card {
    background-color: var(--el-page-bg-color);
    border-radius: 2px;
    box-shadow: 0 1px 3px var(--el-border-color);
    margin-bottom: 10px;
    box-sizing: border-box;
    overflow: hidden;
}
/* ========================================================后台========================================================== */
.backMain{
    padding: 20px 40px;
}

/* ========================================全局布局================================= */
.common-layout,
.el-container {
    height: 100%;
}